import request from '@/utils/request'

// 查询物流企业专线运营信息列表
export function listLogisticsCompanyLineOperation(query) {
  return request({
    url: '/reportInfo/logisticsCompanyLineOperation/list',
    method: 'get',
    params: query
  })
}

// 查询物流企业专线运营信息详细
export function getLogisticsCompanyLineOperation(id) {
  return request({
    url: '/reportInfo/logisticsCompanyLineOperation/' + id,
    method: 'get'
  })
}

// 新增物流企业专线运营信息
export function addLogisticsCompanyLineOperation(data) {
  return request({
    url: '/reportInfo/logisticsCompanyLineOperation',
    method: 'post',
    data: data
  })
}

// 修改物流企业专线运营信息
export function updateLogisticsCompanyLineOperation(data) {
  return request({
    url: '/reportInfo/logisticsCompanyLineOperation',
    method: 'put',
    data: data
  })
}

// 删除物流企业专线运营信息
export function delLogisticsCompanyLineOperation(id) {
  return request({
    url: '/reportInfo/logisticsCompanyLineOperation/' + id,
    method: 'delete'
  })
}
